360559c89fec13272c6e546f8ffbbb7f5231b516,wffweb/src/main/java/com/webfirmframework/wffweb/css/BorderWidth.java,BorderWidth,setBorderWidth,#BorderTopWidth#BorderRightWidth#BorderBottomWidth#BorderLeftWidth#,438

Before Change


                    if (this.borderTopWidth != null) {
                        borderTopWidthTemp = this.borderTopWidth
                                .setCssValue(borderTopWidth.getCssValue());
                        LOGGER.warning(
                                "the given borderTopWidth is already used by another object so the existing object is used");
                    } else {
                        borderTopWidthTemp = borderTopWidth.clone();
                        LOGGER.warning(
                                "the given borderTopWidth is already used by another object so its clone is assigned");
                    }
                } else {
                    borderTopWidthTemp = borderTopWidth;
                }

                if (borderRightWidth.isAlreadyInUse()
                        && this.borderRightWidth != borderRightWidth) {
                    if (this.borderRightWidth != null) {
                        borderRightWidthTemp = this.borderRightWidth
                                .setCssValue(borderTopWidth.getCssValue());
                        LOGGER.warning(
                                "the given borderRightWidth is already used by another object so the existing object is used");
                    } else {
                        borderRightWidthTemp = borderRightWidth.clone();
                        LOGGER.warning(
                                "the given borderRightWidth is already used by another object so its clone is assigned");
                    }

                } else {
                    borderRightWidthTemp = borderRightWidth;
                }

                if (borderBottomWidth.isAlreadyInUse()
                        && this.borderBottomWidth != borderBottomWidth) {
                    if (this.borderBottomWidth != null) {
                        borderBottomWidthTemp = this.borderBottomWidth
                                .setCssValue(borderTopWidth.getCssValue());
                        LOGGER.warning(
                                "the given borderBottomWidth is already used by another object so the existing object is used");
                    } else {
                        borderBottomWidthTemp = borderBottomWidth.clone();
                        LOGGER.warning(
                                "the given borderBottomWidth is already used by another object so its clone is assigned");
                    }

                } else {
                    borderBottomWidthTemp = borderBottomWidth;
                }

                if (borderLeftWidth.isAlreadyInUse()
                        && this.borderLeftWidth != borderLeftWidth) {
                    if (this.borderLeftWidth != null) {
                        borderLeftWidthTemp = this.borderLeftWidth
                                .setCssValue(borderTopWidth.getCssValue());
                        LOGGER.warning(
                                "the given borderLeftWidth is already used by another object so the existing object is used");
                    } else {
                        borderLeftWidthTemp = borderLeftWidth.clone();
                        LOGGER.warning(
                                "the given borderLeftWidth is already used by another object so its clone is assigned");
                    }

                } else {

After Change


                    if (this.borderTopWidth != null) {
                        borderTopWidthTemp = this.borderTopWidth
                                .setCssValue(borderTopWidth.getCssValue());
                        if (LOGGER.isLoggable(Level.WARNING)) {
                            LOGGER.warning(
                                    "the given borderTopWidth is already used by another object so the existing object is used");
                        }
                    } else {
                        borderTopWidthTemp = borderTopWidth.clone();
                        if (LOGGER.isLoggable(Level.WARNING)) {
                            LOGGER.warning(
                                    "the given borderTopWidth is already used by another object so its clone is assigned");
                        }
                    }
                } else {
                    borderTopWidthTemp = borderTopWidth;
                }

                if (borderRightWidth.isAlreadyInUse()
                        && this.borderRightWidth != borderRightWidth) {
                    if (this.borderRightWidth != null) {
                        borderRightWidthTemp = this.borderRightWidth
                                .setCssValue(borderTopWidth.getCssValue());
                        if (LOGGER.isLoggable(Level.WARNING)) {
                            LOGGER.warning(
                                    "the given borderRightWidth is already used by another object so the existing object is used");
                        }
                    } else {
                        borderRightWidthTemp = borderRightWidth.clone();
                        if (LOGGER.isLoggable(Level.WARNING)) {
                            LOGGER.warning(
                                    "the given borderRightWidth is already used by another object so its clone is assigned");
                        }
                    }

                } else {
                    borderRightWidthTemp = borderRightWidth;
                }

                if (borderBottomWidth.isAlreadyInUse()
                        && this.borderBottomWidth != borderBottomWidth) {
                    if (this.borderBottomWidth != null) {
                        borderBottomWidthTemp = this.borderBottomWidth
                                .setCssValue(borderTopWidth.getCssValue());
                        if (LOGGER.isLoggable(Level.WARNING)) {
                            LOGGER.warning(
                                    "the given borderBottomWidth is already used by another object so the existing object is used");
                        }
                    } else {
                        borderBottomWidthTemp = borderBottomWidth.clone();
                        if (LOGGER.isLoggable(Level.WARNING)) {
                            LOGGER.warning(
                                    "the given borderBottomWidth is already used by another object so its clone is assigned");
                        }
                    }

                } else {
                    borderBottomWidthTemp = borderBottomWidth;
                }

                if (borderLeftWidth.isAlreadyInUse()
                        && this.borderLeftWidth != borderLeftWidth) {
                    if (this.borderLeftWidth != null) {
                        borderLeftWidthTemp = this.borderLeftWidth
                                .setCssValue(borderTopWidth.getCssValue());
                        if (LOGGER.isLoggable(Level.WARNING)) {
                            LOGGER.warning(
                                    "the given borderLeftWidth is already used by another object so the existing object is used");
                        }
                    } else {
                        borderLeftWidthTemp = borderLeftWidth.clone();
                        if (LOGGER.isLoggable(Level.WARNING)) {
                            LOGGER.warning(
                                    "the given borderLeftWidth is already used by another object so its clone is assigned");
                        }
                    }